package com.example.sunmiv1.entity;

import java.util.ArrayList;
import java.util.List;

/**
 * Created by Administrator on 2018-10-18.
 */

public class TodayVipInfo {

    /**
     * status : 1
     * msg : 查詢成功
     * summoney : 1.11
     * allmoney : 1.11
     * resummoney : 1.11
     * ccount : 1.11
     * pay : 1.11
     * paynum : 1.11
     * ave : 1.11
     * data : [{"id":"8470","vid":"71","status":"1","pay_order_id":"1.00","money":"1.00","allmoney":"1.00","type":"1","storeid":"1","addtime":"1539824288","remark":"商家助手小程序充值1元","state":"1","merchantid":"1","adminid":"1","usertype":"2","typename":"充值","storetag":"姑蘇零售店"}]
     */

    private int status;
    private String msg;
    private double summoney;
    private double allmoney;
    private double resummoney;
    private double ccount;
    private double pay;
    private int paynum;
    private double ave;
    private double hdadd;
    private double refund;
    private List<DataBean> data;

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public String getMsg() {
        return msg == null ? "" : msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public double getSummoney() {
        return summoney;
    }

    public void setSummoney(double summoney) {
        this.summoney = summoney;
    }

    public double getAllmoney() {
        return allmoney;
    }

    public void setAllmoney(double allmoney) {
        this.allmoney = allmoney;
    }

    public double getResummoney() {
        return resummoney;
    }

    public void setResummoney(double resummoney) {
        this.resummoney = resummoney;
    }

    public double getCcount() {
        return ccount;
    }

    public void setCcount(double ccount) {
        this.ccount = ccount;
    }

    public double getPay() {
        return pay;
    }

    public void setPay(double pay) {
        this.pay = pay;
    }

    public int getPaynum() {
        return paynum;
    }

    public void setPaynum(int paynum) {
        this.paynum = paynum;
    }

    public double getAve() {
        return ave;
    }

    public void setAve(double ave) {
        this.ave = ave;
    }

    public double getHdadd() {
        return hdadd;
    }

    public void setHdadd(double hdadd) {
        this.hdadd = hdadd;
    }

    public double getRefund() {
        return refund;
    }

    public void setRefund(double refund) {
        this.refund = refund;
    }

    public List<DataBean> getData() {
        if (data == null) {
            return new ArrayList<>();
        }
        return data;
    }

    public void setData(List<DataBean> data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * id : 8470
         * vid : 71
         * status : 1
         * pay_order_id : 1.00
         * money : 1.00
         * allmoney : 1.00
         * type : 1
         * storeid : 1
         * addtime : 1539824288
         * remark : 商家助手小程序充值1元
         * state : 1
         * merchantid : 1
         * adminid : 1
         * usertype : 2
         * typename : 充值
         * storetag : 姑蘇零售店
         */

        private String id;
        private String vid;
        private String status;
        private String pay_order_id;
        private String money;
        private String allmoney;
        private String type;
        private String storeid;
        private String addtime;
        private String remark;
        private String state;
        private String merchantid;
        private String adminid;
        private String usertype;
        private String typename;
        private String storetag;

        public String getId() {
            return id == null ? "" : id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getVid() {
            return vid == null ? "" : vid;
        }

        public void setVid(String vid) {
            this.vid = vid;
        }

        public String getStatus() {
            return status == null ? "" : status;
        }

        public void setStatus(String status) {
            this.status = status;
        }

        public String getPay_order_id() {
            return pay_order_id == null ? "" : pay_order_id;
        }

        public void setPay_order_id(String pay_order_id) {
            this.pay_order_id = pay_order_id;
        }

        public String getMoney() {
            return money == null ? "" : money;
        }

        public void setMoney(String money) {
            this.money = money;
        }

        public String getAllmoney() {
            return allmoney == null ? "" : allmoney;
        }

        public void setAllmoney(String allmoney) {
            this.allmoney = allmoney;
        }

        public String getType() {
            return type == null ? "" : type;
        }

        public void setType(String type) {
            this.type = type;
        }

        public String getStoreid() {
            return storeid == null ? "" : storeid;
        }

        public void setStoreid(String storeid) {
            this.storeid = storeid;
        }

        public String getAddtime() {
            return addtime == null ? "" : addtime;
        }

        public void setAddtime(String addtime) {
            this.addtime = addtime;
        }

        public String getRemark() {
            return remark == null ? "" : remark;
        }

        public void setRemark(String remark) {
            this.remark = remark;
        }

        public String getState() {
            return state == null ? "" : state;
        }

        public void setState(String state) {
            this.state = state;
        }

        public String getMerchantid() {
            return merchantid == null ? "" : merchantid;
        }

        public void setMerchantid(String merchantid) {
            this.merchantid = merchantid;
        }

        public String getAdminid() {
            return adminid == null ? "" : adminid;
        }

        public void setAdminid(String adminid) {
            this.adminid = adminid;
        }

        public String getUsertype() {
            return usertype == null ? "" : usertype;
        }

        public void setUsertype(String usertype) {
            this.usertype = usertype;
        }

        public String getTypename() {
            return typename == null ? "" : typename;
        }

        public void setTypename(String typename) {
            this.typename = typename;
        }

        public String getStoretag() {
            return storetag == null ? "" : storetag;
        }

        public void setStoretag(String storetag) {
            this.storetag = storetag;
        }
    }
}
